//
//  DataStore.h
//  
//
//  Created by cztv on 13-3-6.
//  Copyright (c) 2013年 windo-soft. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>

#define MD5_Key  @"jh20151121"

@interface DataStore : NSObject

//////////////////////////////////////////////////////////////////////////////////////////////

@property(nonatomic, assign) BOOL isFirstLaunch;
@property(nonatomic, assign) BOOL isScored;
@property(nonatomic, assign) NSData *deviceToken;

//////////////////////////////////////////////////////////////////////////////////////////////

@property(nonatomic, retain) NSString *userid;
@property(nonatomic, retain) NSString *userName;
@property(nonatomic, retain) NSString *cityname;

@property(nonatomic, retain) NSString *shopid;
@property(nonatomic, retain) NSString *shopname;

@property(nonatomic, retain) NSString *tempId;
@property(nonatomic, retain) NSString *tempName;

@property(nonatomic,copy)NSString *serverURL;//通过接口获取的服务器域名
@property(nonatomic,copy)NSString *applyurl;//申请url;
+ (DataStore *)sharedDataStore;

@property(nonatomic )CLLocationCoordinate2D coor;
//创建md5签名 加密
+(NSString*)createMd5Sign:(NSMutableDictionary*)dict;

@end
